import { createStore } from "vuex";
import home from "./modules/home";
import user from "./modules/user";
import pengfan from "./modules/pengfan";
const store = createStore({
  state() {
    return {
      rootCounter: 1,
    };
  },
  getters: {},
  mutations: {
    increment(state) {
      state.rootCounter++;
    },
  },
  actions: {},
  modules: {
    home,
    user,
    pengfan
  },
});

export default store;
